package com.b511.swpu.cementbackend.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.hibernate.annotations.GenericGenerator;
import org.hibernate.validator.constraints.Range;

import javax.persistence.*;

@Entity
@Getter
@Setter
@Accessors(chain = true)
// 水泥浆实验性能 对应表 CM_SLURRY_EXPERIMENT_PEFORMANCE
public class CM_SlurryExperimentPerformance extends BABaseEntity {
    @Id
    @GenericGenerator(name="slurryPerformanceGenerator", strategy="uuid")
    @GeneratedValue(generator="slurryPerformanceGenerator")
    private String CM_SlurryExperimentPerformance_ID;

    @Basic
    @Column(name = "CASINGSIZE")
    private Double casingSize;

    @Basic
    @Column(name = "SLURRYTYPE", length = 50)
    private String slurryType;

    @Basic
    @Column(name = "DENSITY")
    private Double density;

    @Basic
    @Column(name = "PULPINGRATE")
    private Double pulpingRate;

    @Basic
    @Column(name = "WATERCEMENTRATIO")
    private Double waterCementRatio;

    @Basic
    @Column(name = "RPM600")
    private Double RPM600;

    @Basic
    @Column(name = "RPM300")
    private Double RPM300;

    @Basic
    @Column(name = "RPM200")
    private Double RPM200;

    @Basic
    @Column(name = "RPM100")
    private Double RPM100;

    @Basic
    @Column(name = "RPM60")
    private Double RPM60;

    @Basic
    @Column(name = "RPM30")
    private Double RPM30;

    @Basic
    @Column(name = "RPM6")
    private Double RPM6;

    @Basic
    @Column(name = "RPM3")
    private Double RPM3;

    @Basic
    @Column(name = "CONSISTENCY")
    private Double consistency;

    @Basic
    @Column(name = "BC30")
    private Double Bc30;

    @Basic
    @Column(name = "BC40")
    private Double Bc40;

    @Basic
    @Column(name = "BC50")
    private Double Bc50;

    @Basic
    @Column(name = "BC70")
    private Double Bc70;

    @Basic
    @Column(name = "BC100")
    private Double Bc100;

    @Basic
    @Column(name = "APILOSTWATER")
    private Double APILostWater;

    @Basic
    @Column(name = "HR8")
    private Double Hr8;

    @Basic
    @Column(name = "HR12")
    private Double Hr12;

    @Basic
    @Column(name = "HR24")
    private Double Hr24;

    @Basic
    @Column(name = "HR48")
    private Double Hr48;

    @Basic
    @Column(name = "HR72")
    private Double Hr72;

    @Basic
    @Column(name = "HR8UCA")
    private Double Hr8UCA;

    @Basic
    @Column(name = "HR12UCA")
    private Double Hr12UCA;

    @Basic
    @Column(name = "HR24UCA")
    private Double Hr24UCA;

    @Basic
    @Column(name = "HR48UCA")
    private Double Hr48UCA;

    @Basic
    @Column(name = "HR72UCA")
    private Double Hr72UCA;

    @Basic
    @Column(name = "PSI50")
    private Double Psi50;

    @Basic
    @Column(name = "PA48240")
    private Double Pa48240;

    @Basic
    @Column(name = "FREEFLUID")
    private Double freeFluid;

    @Basic
    @Column(name = "BA_WELL_ID")
    @JsonIgnore
    private Long ba_well_id;

    @ManyToOne
    @JoinColumn(name="cm_basic_id")
    private CM_Basic basic;

}
